package net.liteheaven.testfile;

import android.app.Fragment;
import android.os.Bundle;
import android.util.Log;

/**
 * Created by LiangYu on 2018/6/20.
 */
public class BaseFragment extends Fragment {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        log("onCreate");
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        log("onDestroy");
    }

    private void log(String content){
        Log.i("X", this.toString() + content);
    }
}
